﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hutil {
        /**
       *┌────────────────────────────────────────────────┐
       *│　描    述：MappingNameAttribute                                                    
       *│　作    者：sgj                                              
       *│　版    本：1.0                                              
       *│　创建时间：2022-06-25 07:58:43                        
       *└────────────────────────────────────────────────┘
       **/
        [AttributeUsage(AttributeTargets.Field ,AllowMultiple = false ,Inherited = true)]
       public class MappingNameAttribute :Attribute {
            public MappingNameAttribute(String namesStr) {
            
                this.names = namesStr.Split(',');
            }

            private String[] names;
            public String[] getNames (){
                    return this.names;
            }
        }
    
}
